import {useStore} from "vuex";
import {computed} from "vue";

interface Service {
    title: string
    icon: string
    to?: string
    color?: string
    openType?: 'contact' | 'share',
}

interface ServiceNeedAuth extends Service{
    auth: boolean
    QX_ID: number
}

export function useMoreList() {

    const MoreList: Array<Service | ServiceNeedAuth>  = [
        {
            title: '班级群二维码查询',
            icon: 'qr_code',
            to: '/pages/More/moretap/SelectClassImage',
            auth: true,
            QX_ID: 27,
			color:"green"
        },
		{
		    title: '班级群二维码管理',
		    icon: 'qr_code',
		    to: '/pages/More/moretap/ClassImageManage',
		    auth: true,
		    QX_ID: 28,
			color:"green"
		}
    ]
	
    return {
        MoreList
    }
}
